Fix test config port issue.