Fix broken test "assertScriptExecuted" in mapping.inc.js