Extend the Element#tagName test.