Fixing search test