Adding tests for use_json_attr