Added documentation and functional tests for renderers custom setup.
Added some unit tests for Engine.