Fixes Transformer thread safe, and tests using the...

...