test repo handling
make sure we clone correctly with the right branch, fix tests
tests for repo now much improved