Update test4.cpp