Enhancements to the multiple sleep latency test.

Enhancements to the multiple sleep latency test.