Testing And Learning On Distributional And Set Inputs