Move test program out of lightify.py