add test.cpp