test for save avi file