r'\,;:' chars if escaped with '\\' now do not have their usual effect

Transformed some doctests into unittests.
Transformed some old style classes into new style classes