1. Set image avatar for user.
2. Observe that `container` is set correctly in `uploads` table.
3. Delete user.
4. Observe that row in `uploads` table corresponding to user's image avatar has been removed.
This is safe because uploads has an index on container