Test registerEnumTransform on Adapter class instead of adapter instance

I believe `registerTransform` should be use on the Adapter class, the `registerEnumTransform` should operate on the class as well.

Here is the actual test updated to reflect this behavior, it's failing for now.

Related to #581
cc @leepfrog