pickle/unpickle in MockView to simulate network
fix wrong test
fix transactions yet again

there are some suboptimal things about this but it actually
finally works mostly correctly