05-tree.t: add test case for GH#66
fix incorrect calls to git_obj_to_sv()
Changes: update