nth_element and tests