tty? should be mocked true