If we are still using the shell to launch tests, have a separate script for each test

Follow up for #30063 (moved) and #30154 (moved).