Wrote function definitions for target selection and suggestion tests