Added test.cpp.