Add a few tests for DiscoveryService.
Add tests for watch and ignore.