Fixes issue when asset-rev is the first broccoli plugin.
Adds basic integration tests.