Snapshots tests bugfix