fixed some tests source:capybara github page