Drastically improve test performance
Merge pull request #1406 from petehunt/testperf

Improve `grunt test` performance