Generate test using the new app structure

Fixes #1034
Merge branch 'asset-pipeline'