Add unit specs for Mapping.build