adapted simpleindex_test.js
added QueryBuilder.reset()