Unit test passing implementation of rate limiting.
Cleanup.