rename throttle to throttle_counter
add integration tests for the rack middleware