add test for converting nested filters into dictionaries. issue #45