Add NOTE function to C++ unit test API