Remove prompt from global state

Also, fixes the tests so that we assert the correct behavior. This was
previously asserting that we printed out what the user gave us, when we
should actually be printing the prompt.