Fold tests for C++ 'main' into a single file.