redirect standard input on integeration tests