add test cases for StatusService.