Removing invalid test cases from thread state test