Fix bug on grunt test