test mainsearch query