Always use unittest instead unittest2 (same api used in this case)
Declare unittest lib used within python version
Use locally declared unittest lib in unit tests.
For some obscure reason try except nameError fails in python 3.2 (unicode may be declared elsewhere), fix it by checking str.decode