added 3 test cases