port initial agent and message test