This allows for nice continuous interaction with the test framework instead of doing this to generate a key:
key = ECKey()
key.generate()
You can now do:
key = ECKey().generate()
The same for setting a private/public key.
This is a small change but I think it helps creating a smaller more understandable tests (especially if it involves a lot of different keys)