C++ tests and tasks