Adds coverage reporting to C++ tests