Applied hamcrest asserts to testPort() in WebServerTest