Refactor MockInput. Add TerminalInput
Add skeleton for next test