refactor capybara coverage for tasks