Avoid direct use of unittest2