Fix test to work also when ran using grunt-mocha