Test.Story: fix ScriptContext type