add json encoding test to index testsuite