made some changes to test cases