Fixed SelectConnectionTestCase by changing it to a class.