Update tests.js