adds replace/clear alerts queue methods; updates tests