#135 fix python unit tests