Typically, sleep tests are performed at a lab, where you begin the study by spending a night at a hospital hooked up to a bunch of cables and devices, making it nearly impossible to actually get a good night’s sleep.
It’s not just the discomfort that can cause the results of the test to be skewed, but not many people can actually get comfortable enough with the sounds, lights and distractions to actually rest.