Gruntfile: uglify task changed header name
Added tests
Api fully tested