Fix in Gruntfile for running tests properly in phantomjs