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