added selection tests; refactored vector of values to a list