Split `flag_eof` into `flag_eof_stdout` and `flag_eof_stderr`
Include a test case in order to check for full output from VT