Test for filter_json