complete test case