It might be overkill, but maybe you should have another test that POSTs twice and ensures the res_id's are not identical.