Swinging-flashlight test