Testing and logging refactor: Autopep8 and import style cleanup

Step 1 of refactor process
====================
* autopep8 files related to testing and logging
* cleaned up style for import statements 
* purged unneeded comments #{{{ and #}}} to increase code readability

Next step
=======
* add loggers to files
* add a simple and a verbose logging format
* clean up logging messages and convert print statements in test files to log messages

Thanks @paulproteus for the earlier feedback :-)