Framework to test node grouping algorithms