[AS/NY] replaced tests with some capybara methods