Add function `mrb_t_pass_result` to remove duplicate in sub mrb_state test.