Test coverage for rate limiter and throttles.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>
Fixing up test so that default limit is 0.

Signed-off-by: Jason Lewis <jason.lewis1991@gmail.com>