Added test for :not in hashToWhere conditions