TransactionRecorder tests
Append head transactions without stack overflow

Implemented with a while loop. Cannot be implemented as tail recursive because of the catch statement.
Pre-review  cleanup
No more consistency error on unexpected reponse + cleanup
Better way to import "Type"