Read from error channel in tests before closing
Make tests fail if no output is received