Adding tests for number of requests and rate limiting.