defend against unit tests that use internal functions with nonconforming keys.