a test case for service