Initial tests

Hello guys, I added some tests and a Gruntfile.js to lint and test the code.