Examples and test cases for commit.parents()