added testing.cpp