added some tests on port alarms