added tests for the rate limit