Fix an incorrect namespace.
Add serialization test for an enum with implicit values.