Fix print command for python 3
Fix for python3, since zip returns iterator
Fix a couple of tests