Add tests for verify_video_data; fix bug