(1) Add user to system
(2) Set the portrait of a user
(3) On the file system, delete the data folder for the portal
(4) Attempt to delete the user. You should see a "NoSuchImageException" in the logs.
You can perform similar steps for organization.