Refactoring send-out-port_spec.rb (refs #236)