converting to Python3.4, some tests failing