Flake8 fixes + use nosetests's setUp()