finished  testing search method of drug controller