edited test.js