test/py framework hangs on some tests with tbot integration