Moved transformFun method to TestRegistration trait, and renamed it to transformToOutcome and do away with Transformer in its default implementation.