Test added, problems fixed for Dictionary interface implementation.

--HG--
extra : amend_source : 3632e24194f8836ca4bd3a16c72f3613ce84475f