Add test cases for Select* classes.

I've added some test cases. Could you review my change?