Running `grunt test` should also rediscover assets

Otherwise the DiscoveredComponents in /generated will never be generated,
and many tests will fail.