PEP8 in legacy tests