correct typo in TCPMask, add test for node failure