add assert sentences for test case PrintToJson