test alertMessage