Fix the condition of some snapshot tests

Change some snapshot tests to skip if snapshot is disabled

Change-Id: I7e1dfcbface5cd82c2564320cba8f6592ecc275c
2 files changed