completed unit test case