use grunt to automate test