Refactor test installment.
Add capybara for integration tests.