Added tests for _choose_x_slice