add test for diff
Merge pull request #1 from ottypes/diff

add test for diff