Clean-up in QueryResultTest