fix test_net to upgrade params from v0 if needed