Avoid a useless JSON serialization of the data
Fix do_attempt crash on incorrect tries
Add a Python test suite running in the workbench