Updated test.cpp with a welcome message