added test with a simple map, it seems that somewhere is some problem