ctest2 by mr_f
848