[PATCH v6 8/8] jscript/tests: Add test for function constructor in named item context.