updated the test cases