test codes updated,medicine controller extended by additional methos