Updated tests for ConnectorFactory