Add a C++ test infrastructure
The foundation for #2002 (closed).
Spawned of from !2033 (closed) after discussions in !2033 (comment 619081872). I haven't dealt with the feedback that I've already gotten on !2033 (closed), hence this MR is WIP.
Edited by Magnus Jacobsson