Write tests for Throttler