Scripting tests