test replayer: add a test for port option