factor out common throttle setting byte[] array construction in ThrottleTests.