It's now possible to run the mocha tests in phantomjs using grunt. Use the following command:_
  grunt test
or
  grunt mocha

 For some reason it was not possible to run grunt-mocha with new versions of phantomjs and we have to settle with 1.8.1-1 for now. Maybe this will be fixed in the future.