Added back test for nodeType