Add more tests and fix a few failing tests related to cloning and updating repos
Add more tests and fix a few failing tests related to cloning and updating repos