ConditionalSelect + tests.