More improvements to LightTest.py