some minor fixes to make them work with python3
enable travis-CI test for python-3.2 temporary