[PATCH v2 3/3] jscript/tests: Add tests for named items.