can now generate multiple light nodes
fixed some tests