test for searching using or operator on the same hash