added onRemove() tests