Add JSONHelper tests.
Main uses logger rather than calling log directly.