switch to test.cpp