message helper tests