Here's how I'm testing my controller just for the benefit of anyone who needs to know how to do this. With a few small batteries, lots of jumper leads, a 120v light bulb, two rubber bands, and a potentiometer (0-5k, 0-10k, 0-15k, ect, will all work). I have a printout of the controller wiring diagram which really helps not to screw something up (not shown). Double check everything before energizing the main + or - to the wiring diagram, as it's easy enough to fry something.
This is only for a brush motor controller. I don't know how to bench test a brush-less motor controller.