added testclass.cpp and testclass.h