ipdb catch exception when possible
Fix test