unit test for new dictionary methods
Merge pull request #3 from olliecwl/master

unit test for new dictionary methods