Tests: Fixed pep8 warnings and indent.