fixed search entity test