stub the write prompts in tests