code and test repo-exists