Correct the port-awareness of test.