extend optional support. code restructured.
Tests of static Transformers and Validators