Raise error when checking a size of a json ruby value of nil

Hi Steve,
  Please let me know what you think about the tests.
Thanks,
Beth
Do the bare minimum in the initializer.

```ruby
@expected_value = expected_value
```