unittest workaround

without this, the tests were failing with python 2.7