set up cache and throttle unittests