Add passing test case for serializing commits
Add additional test for serializing Trees