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