Add grunt and mocha tests