search test implementation