updated test and grunt code for travis integration