Added convenient factories (:user_owns_repo and :repo_with_owner) for testing.