tests.js added