Test result logs and pep8 formatting