Add tests for differend node, edge and seed values
Refactor repeated test code into macro