updated logic to match port as well. updated tests to run on the test node server.