Added tests for Dictionary.