Test sleep.