#5: Added tests of specialdict.py.
#4: Specialdict refactored.
#4: Small refactorings.