Update testbed.js

More additions - test code working!