finished basic search and tests