add tests for not queries using string comparisons