fix hero update test, and move before block on app.rb