make execute.js tests less brittle