Added some useful helpers to verify an element left the DOM, etc.