That also works for tail e-switch lights, too, where the driver’s in the tailswitch.
When the driver works, clicking the switch will change modes through the cycle, but if shorted, you only get one mode, the highest.
I’ve been wanting to do exactly that to the LuxPro I got (4×AAA), but can’t for the life of me (nondestructively) remove the retaining ring. No clue as to whether it’s RH or LH threads, and even ring-pullers in the 2 holes ain’t budging it.
The method should also work for side-clicky e-switches, but only for go-or-blow. Ie, keep it connected and then try the switch.