Some basis for module testing
Function to query state of all known bulbs
If targeting all known bulbs, use turn_on() on lights object, which is much faster
Verify desired bulb state using lights-status (by querying it repeatedly for several seconds since it may take a while before the state change is visible).