fixed the map test by adding stat libraries