tests: PEP8 fixes