Testing Command-Line Applications using Golden-File approach