serialization tests
default serializer should support enums