Add more test-cases to the JSON unit-test (issue #1).

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