[Test][Connection] Fix assertQueryResult prototype