Fix tests against python3.3