added rspec and capybara, writing tests for existing features