Fixing the test failure on python 3.3