add test for port binding