Wrap and test IntTo{Double,Long}Function