We generally don't consider programmer error to be worth testing. In this case, since it's clearly documented that the method used must not return a primitive, undefined behavior will result. We handle this "nicely" with an assertion right now, but any behavior would really be legitimate.