Added tests for prompts
Added docs for input stream testing.