A template to create and test a transformer