add testcase for service