Address style and testing comments from Stefan/Wenbin.
Merge branch 'get_state_function' of github.com:Nextdoor/ndserviceregistry into fix_dummywatcher_behavior