test of loading json from file