Update test to take account that newlines can occur in message