Add filter_diff script and test.