Fix duplicate name for test

And PEP8 while I'm at it.