Use unittest2 for older Python versions.

Fixes issue #10.