Add unittest pattern of init_args with default and const.