Fixed capybara failures