'Testing update to dict'

def test_add_item_to_dict(self):

    yed = Yedit('yedit_test.yml', separator=':')
    yed.put('x:y:z', {'a': 1, 'b': 2})
    yed.update('x:y:z', {'c': 3, 'd': 4})
    self.assertTrue((yed.get('x:y:z') == {'a': 1, 'b': 2, 'c': 3, 'd': 4}))
    self.assertTrue(yed.exists('x:y:z', {'c': 3}))
