unit test: common and formJsonClient