Tests for setup_connector and teardown_connector.