Testing SWIG C wrapper in python