using Capybaras have_selector in tests