Fixed regression in port name, added test