Made changes to test.js