complete test with dynaic port