Fix snapshot creastion for failed tests

Add verification if we have snapshot in object data

Change-Id: I771a0cc587e02f9c20984e0469c0e053ea0d283d
Merge "Fix snapshot creastion for failed tests"