Rewrite IcicleConverter in a testable way.