You can test the correctness of your CT-based transformations in much the same way as you would do it with JUnit. However the CTC lets you do it in three different, increasingly powerful ways:
Start with the first variant. Read the other two as independent extensions, once you're familiar with the basics (which are only explained in the first variant).
Tests can be structured using modules. See