Improve pkg/registry/service code coverage.
Merge pull request #950 from ddysher/service_coverage

Improve pkg/registry/service code coverage.