unittests: allow repo urls to be specified

Change-Id: Ia3fb5ba2114148e3f5697a370ac927e81ef1b697