added testfunction.cpp