tests for Select + minor fixes.