Build: fix assemble of grunt test builds

Fixed assemble condition so the unit test resources are only added when `grunt test` task is run.