modified grunt tasks for headless testing