Fix warnings in HTTP tests