python testing updates