Used unittest2 instead of unittest, so it's backwards-compatible with py2.6.