Fix search test