Added tests for MapStringToPtr