Updating test.cpp