introduce Capybara and succeeded in unit test