added tests with capybara