Modify test/test_complex_selection.py