added a test cases