test for TableProviderFactory