Unit test for WeavingTransformer