Test if returned message is correct