update: transfer changes from test_repositories.py