Test that encoding an unknown field fails silently

This doesn't change any behavior, just describes it.