Make IntervalTreeTests more stringent: check that query results do not c...

...ontain extraneous items.