Create test.cpp

test program