Testing autodiff with digits