Only call the done function once per test, failure or success
Log event and state names rather than codes
WIP: Prioritize events
Enable logging on try