Update testbed.js

Minor additional thinking.