Correct test in spec. Fixed handlers in app.rb.