Add a test for nodeType as well.