wired_basic_test.js: updated function names