test filter_leading_non_json_lines