Rename test files to snake_case (PEP8)
Misc PEP8 and Python 3 fixes