added and debugged id_map_test.go