Added json test
merged in dev_lens