Updated mock_server.js test to accept port distininctions