Added tests for commit

 - messageRaw
 - messageEncoding
 - summary
 - owner
 - parentcount
Merge pull request #290 from nkt/tests/commit

Added tests for commit