Compatibility module for the python 2 and 3 versions.
Use compat's TestCase
Use unittest2 if available and gracefully falls back to unittest.