changed tests.js to coffee