Remove XML support in RepositoryCollection
Add tests to check Repository registering API