Updating capybara test to fix the build