Sleep and resource tests