add test for ratelimitting encode url