Add Transformer::transform + tests