Fix unit test for Sql::query() method