fix grunt running testcase.