print coverage at the end of the test; minor pep8 fixes

prints the covered percentage at the end of `test_coverage`, so you don't always have to copy+view the report files with your browser