generative test for apply-diff