Python 3.1 is broken by design.
Resolve naming error between unittest2 and unittest.
Fix formatting strings for cross python compatibility.