BUG: fixed a bug in test_select_samples related to a 2to3 transition with the zip function.