fixed dictionary creation in unit tests & getAllIdents