Refactoring set-transport-src-port_spec.rb (refs #236)