Handle trivial AssertEquals case (ref == ref) that XUnit seems to fail at when used with Castle.Core proxies.