Added logging to tests
Added keypair and network related things