fix tests
deprecation of object.__new__()
fix tests