added py3k workaround in tests
Merge pull request #696 from fcurella/requests

added py3k workaround in tests