python field class method reworked
tests fixed