minimal testing framework for c/c++