Tests of some C++ basics functionality