properly strip extension from test file basename