Add Sleep to tests