Used capybara for UI testing