changes to test.js