Add test for generic map objects