dded file cleanup on tests
Refactored trecs_message to use a MessageRecorder class