[S.R.Serialization] fix wrong test that doesn't match .NET behavior.