global: enhance unit test for LazyDict

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