Added test for add_repos to cv with names.

Fixes the issue #1626