added name-server connection test case