Added lighting, other minor improvements to io-test