[HttpFoundation] Fixing tests.