http: Fix tests