A hormone test involves blood samples to test the thyroid gland, cortisol levels, estrogen and testosterone levels since they are the principal endocrine glands with essential functions.