updated port agent tests to align with new listener signature