Try to use unittest2 for Python <=2.6 when testing utils - fixes an exception on older Pythons when asserting that an exception is thrown.