There are a number of examples of pre-existing tests already in CAT ([ref](https://github.com/nlesc-nano/CAT/tree/master/tests)).