refactor trace_linear_block_decoder unit test