Test addToMap option