[unit] Add a debug print and some more Dict test cases