global: enhance unit test for LazyDict

* Add unit test for the class LazyDict.

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
`iterator = iter(lazy_dict)`