test coverage for service methods