Removed invalid code from file test_snapshot_gc.py