Added Capybara js test