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.