Add unit testing, improve Grunt tasks.