Use grunt to automate unit test.