* fixed segfault in test_mapdef