[HttpFoundation] renamed hostname to host in the test to be consistent