Unit test Sql class.