Both countries also issued aggressive threats, testing a peace agreement.