fixing backport for unittest2