tests: match all Database queries in tests (example)