attempt to fix unit tests for Py33