Update train_test.cpp