add some tests for ProviderRepository
Merge remote-tracking branch 'origin/master'
repaired GenericRepository