Fix test case for class RepositoryAddon