adapt ini agent test helper to use new Scripting agent API