fix tempalte grunt test task and small part