Fixed tests by configure grunt task for karma