updated agent alarms and tests.