added a test case