add test of diff.py