updated the test case