tests.js file