refactored the test cases