[HttpFoundation] Remove useless reflection usage in MetadataBagTest