trim tests out of test file