DataSourceFactory tests