As of bugs 53036 and 51222, we now have multiple "test-*" ports. We should be specific in the unit tests about which one we're expecting, rather than relying on an underspecified default mapping.
Closing ... there are no longer any uses of "test" where this matters.