Removes bad test cases.