rpcserver: Update error case handling in tests.
rpcserver: Update error case handling in tests.

This updates the rpcserver handler tests to properly call Errorf in the
case that the test specifies wantErr, but err is nil.

decred/dcrd,decred/dcrd