unittest partially done for dydict