test sequence of selects