node type extended, nodeunit tests fixed