Testing a SWIG wrapper of C++ for Python