Test class for delete alert message functionality