AC: * Add unit tests for the delete directory endpoint
AC: