Create tests for JSONHelper

Created tests for JSONHelper, only one test per method, since this class
is extensively tests via other tests which test class which encode and
decode json data.
Merge pull request #43 from cloudant/33601_add_json_helper_tests

33601 add json helper tests