Fixed test.cpp.