fixed test after new sleep