Adds a unit test for to/from dictionary to JSB