Fixing Json test in JVM. Changing assertion which seemed to do nothing