Adds integration test for Rate Limit feature

I had to make minor modifications to get the project to build and the existing unit tests to pass. I hope these are acceptable.

In reviewing the code, I thought I spotted a defect in which the rate limit would not be obeyed (I posted in the discussion forum about this, but the post has disappeared). I wrote a test to confirm my suspicion, but the test passes - that's good! 

I still think the expanded coverage is appropriate since the specific behavior was not being covered elsewhere that I could find.