added test code for the JSON store type