libsnapshot: Add test for accounting for hash tree

Test: libsnapshot_Test
Bug: 145180464
Change-Id: If8546dea89fdd7ec7499522a232a777699c52d82
3 files changed