first stab at writing unittests for vertmode function. very incomplete
added dcutils.py
more testing code. not functional yet