Improve `grunt test` performance

This brings warm cache `grunt test` time down to around 9 seconds (before this PR, it was 27 seconds).

Also adds `--test=name` flag to run a single unit test.