Remove extension from generated test when added to the test runner