Fix test cases for expansion of empty lists & maps

Empty lists and maps should be treated as though they were undefined.
Merge pull request #30 from grncdr/patch-1

Fix test cases for expansion of empty lists & maps