tests: get nice error when test module is broken
Fixing coding style with the help of pep8 (wip)