using php unit
fixed up the example
fixed the transformer implementation
implemented the transformer specification