Add more test-cases to the JSON unit-test.

* Add test cases to load JSON values (including arrays and objects) from
  strings (JSON parser).
* Fix typo.