Getting tested for sleep apnea require that you are very sleepy?

Sleep study. When getting a sleep study, you go to the sleep lab and sleep there overnight, while data pertaining to your sleep like your heart rate, oxygen saturation, carbon dioxide level, etc are collected. Sleep tight!
Sleep study. They can give you medication to help you sleep that won't interfere with the sleep study.