Add tests for alterates= in Connection and .switch with a host instead of a URL