some fixes in tests, python 3.* comp