Some problems with test_map need to fix