The test could fail if the port is occupied. LocalLoggingHelper should be able to search for available ports.