Fix sed commands in test output normalization

Prevent mixing up accidental time data with port numbers.