deleted the testQueryDisposed method