Add functional test for registry server.

Yeah thanks good catch, will remove.