Add missing tests for #58618340
Fix Server side checking for term or concept deletion
[Finishes #58224346]