changed test in PortListenerFacts to catch any exception as expected