test cases for node failure