Collaborative non-parametric two-sample testing