Added tests for is_ratelimited.