added mocha tests

I set up unit testing with mocha with grunt and coffeescript.