[TEST] Fix throttle test to always sleep for correct amount of time.