Add PEP8 compliance for tests/ directory

Added PEP8-Coding Style (http://legacy.python.org/dev/peps/pep-0008/) for tests dir.