add test for alert and max