Seol mar théacs é seo: Testing and learning on distributional and set inputs