Fixed some tests on grunt