added a test case.