add contents for test.cpp