add tests for non-loop usage of dict.iter*() methods