added test for render context promotion and demotion.
context navigation rework. added support for array index.