fixed missing model initialisation
unit tests for btrace_print_plain