Compatibility with python 2.6 (using assertIsNone)
Use sphinx syntax for method doc