updated tests
More tests with 3 nodes, rubocop cleanup