Making Capybara Tests Pass