[enhancement] update tests for BT-36 

the search with not and extensions should work, but actually not,
because of the hibernate bug
https://hibernate.atlassian.net/browse/HHH-8914
Merge pull request #100 from dacrome/BT-36

[enhancement] update tests for BT-36
[task] reset to upstream develop