add rate limit sleeps to tests