jshint all files in tasks
Update tests a bit.