pep8
 #8079 adapt tests