Transformers tests for modcluster

Replaces #3853