test_gallery remove redundant wait