add code in the test-helper.js