Custom Error pages configured and tested in cucumber. Issue with simulatin 500-error in capybara