Test script_exec pattern