EZP-21324: Added test for remove image object
EZP-21324: Refactored removal of aliases
EZP-21324: Fixed image alias purging