Add some tests for the 0.0.0.0 network
Move test blocks to subs