use a conf file, and add more tests
pep8