work on testcases for dv.py