make the tests pass under python 3.3

Change-Id: If8478a716940b49f716cfd6bee5e670b63643e05