Filter alarms by patient_id. Add tests for the alarm endpoint.