Test for auto remove the element that removed from DOM