Update test1.cpp

All cleaned up