Update test-3.cpp