Fixed a typo in tests.js