Add unit test to test of adding a snapshot to snapshotlistadapter