Tests image duration