testing fix for Improve wait in test_camera_flash_modes.py