updated the test case2