Test call_rate decorator