Updated the grunt file to avoid running the lint on test files
Added isEmpty to array