Added test for #29
Fix :debug_assets for files that include scripts from gems.