Change message test to test against toString