Added get_alert() function, and test.