Fixed grunt test task.
Fixed lint issues.