Tests: pull out the prompts as a parameter in the function generateApp