[PATCH 5/5] jscript/tests: Add tests for pending and executed code persistence.