Lint unit tests
Simplify logic for grunt tasks