added dtopo_tests.py and moved some tests from dtopotools, other fixes