write tests in coffeescript