Update test.cpp

add main