improve test coverage of dicts