fixed bug with session changes failing to create new snapshots
fixed unit tests