Added partial tests of select handling