Added dgn test and added pep8 and pylint to make test