make unittests work on 2.6