Add base class for SQL testing.