Merge "libsnapshot: Add unit test to simulate merge-resume"