added test for trace_decoder_rank