all methods in dig.py are tested
Merge pull request #10369 from rallytime/dig_test

all methods in dig.py are tested