Tests code format review

... according to PEP8 and PyLint.
Test code can also be nicely written :)
Code format review of samples

Still with pep8 and pylint
Corrected documentation strings format