Modify: In python3 assertEquals is DeprecationWarning

Modify:
1.  In python3 assertEquals is DeprecationWarning
2. dict.items() is list type. Do not need list it.
3. examples/notifications.py Compatible python3