Remove duplications in test cases