Testing pituitary function: This is where medicines are used to test the function of the pituitary gland.