Tests here could be a little stronger -- check tagName twice?