C++ fork test