swap connections for test