Fixing PY3.3 test cases