Remove tests from file