Fix grunt test errors