fix tests with prompting