updated tests for selection