Tests that elements panel updates dom tree structure upon node removal.