Added mocha tests and grunt