Add more tests for git hash-object