Updated python interface and tests, autotools works better