Added test of select() by value