Syntax py3 fixes in /tmp/* test files
Remove `new` module usage

Module new from python stdlib was removed in python 3 so we should
remove it's usage due to py3 compability
Remove tuples from function signature
Add __bool__() and __next__() methods
Tests stuff (WIP)