Add tests for snapshot_metadata

Add tests for snapshot_metadata.

Change-Id: I651200dcdbecf5c4c520e5957ffea3908a4423ef
3 files changed