Minor fix to the grunt worker.
Add more tests.