Added rendering unittests. Fixed layered scene bug.