Both PUT and DELETE forms had the same id "testForm2", and DELETE form didn't work because of that; I changed it to "testForm3", now everything works like it's supposed to.