testsuite: use unittest2 on py<2.7 instead of writing everything ourselves