Fix python3 unit tests.

In python3 the unicode prefix is gone, so it's impossible to compare
a string representation in a compatible way.
Removed unused imports from unit tests.
Restored whitespace in unitests.
Merge pull request #125 from nfvs/fix_python3_tests

Fix python3 unit tests.