Fixed flake8 + test flake8 in travis