tests: get_git_object_default_stats method from Repository class