Add tests

Add mocha and should.js; Add a test; Adjust the grunt and the files accordingly.
Mixed tabs and spaces