added to unittest1.cpp