Move mapping specs to shared examples