server unit test case