Doctests of rank2field.py + start of diffform.py