AUI-1561 Create unit test for remove