add test for list_commits method on repos