ACID test error formatter

Traversing the stack in the correct way
Merge branch 'test-err-handler'