Test programs in C++