tests: regression on complex dictionaries

* Adds tests to check regression on complex dictionaries.  (closes #4)

Co-authored-by: Erik Wickstrom <erik@erikwickstrom.com>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>