Fixes two specs that handle trashed elements.