increase Capybara wait time to 10 s.
more test refactoring