testbench: some plumbing for new es tests