fix test.cpp