Fixed coverage and flake8 on travis