**Description** This is a sub issue of #5320 Integration Tests are required for user delete helper functions to ensure that they work properly. This increases the test coverage for the code. **Additional context** Working on it.