add test for maps