complete junit test case