Reduce the number of tests on OSX.

Initial work by me and fixes by @samth.
add #:name argument to {transplant,relocate}-{input,output}-port