adding alarm api test