add test for diff