fix test that expect confirm()