Fix checkstyle problem.
Make test use ephemeral port.