Adding validateMessage tests