fix broken test (simulate user confirmation)