Add test for issues writing to the network