Sounds reasonable. However, how do you know the number is correct when you check the output after each node?
Another way I can think of is to visualize the network and manually inspect if all the nodes and edges are connected correctly. But again, this is not clever. The verification cannot be wrapped into an unit test case and humans make mistakes.