Fix ls_files() not in repo test to run ls_files()
Add branch()

* Asserts in repo