Fixed wrong variable in TestQueryExecutor.