Tests for handling JSON-RPC errors
Correct checking for unspecified id
Test return type reference
Unused class