Fix autotest so it works with local installs
Emit log an uncaught errors with runtime info