Added tests for myrepos.py.
Improve my_repos example and added tests for it.