[PATCH 3/4] jscript/tests: Add more error reporting tests.