applied 2to3 conversion to iptest, test_bool
manual corrections after 2to3
Merge pull request #45 from paweljasinski/i41

applied 2to3 conversion to iptest, test_bool