Add $itor() and $rtoi() tests