add converter compiler pass
implement tests