Fixed failing python 3.2 tests