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.