Remove invalid test cases.