add java doc of test case