refactored nameservice integration test to be nameserviceproxy unit test