get rid of unnecessary test cases