Created tests for ConnectorFactory