Switch tests to Mocha and CoffeeScript