[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