all methods in dig.py are tested