add test for NSInteger mapping for mapping with root.