a draft of tests in CppUnit added