I did sleep study about 2 years ago and they did test lot of things. Sleep apnea, restless leg syndrome etc., Interesting study but didn't show anything abnormal for me except mild snoring.
If you do have sleep apnea, it will show in the test which can be a great help in aiding your recovery through some good medical help.
Cheers!