fixed PEP8 issues E303, E225 and E302 in CTS

* E303 too many blank lines
* E225 missing whitespace around operator
* E302 expected 2 blank lines, found n
Merge pull request #525 from berendt/pep8

fixed PEP8 issues E303, E225 and E302 in CTS