Update to Python unit tests for C++ interface changes.