Cleaned up jsonrpc test

The web3 constructor was always called (for every test suite). I moved it into the fixture and made the fixture local.
Name shouldn't be empty. In most classes the initialization is placed on the next line (except in headers).