Adds basic save/restore test to YUVDataVideo, fixes errors in restore.