new testing for map to struct.