Added tests for different light types and fixed typo in renderStage