Fix testing for duration in video metadata