HSEARCH-1290 Add test checking unique results from query


Regarding HSEARCH-1290, Davide had created this test a while back but he couldn't reproduce. Not sure if it's useful?
N.B. I rebased it but it's still using the old directory names