add unit tests for 4 nodes