Fix search test error