Topics in two-sample testing