Added tests and grunt.