Adds tests around prompting the user within the terminal