made basic ScriptExecution acceptance tests run under both debug and non-debug

This was extracted from my previous PR #803.

Given that we have quite different execution paths (different engines) for debug and non-debug I think it's worth making at least the basic execution acceptance tests run under both conditions.