Created cmake functions for generating QTest unit tests