test_net_by_hand getting right output
slightly more readable test_base.py