A label-efficient two-sample test