Removing duplicate test cases