added test.cpp file to tests