Improve test coverage and integrate PEP-8 in Travis-CI build