Test for reformating output of multinomial logistic regression