test that we implement fromjson and it's static