I have tried to make a test file generator, what random generate a test file, what include all possible patterns a file can have.

Download:
http://www.metacompressor.com/download/genefile.zip

Syntax:
genefile output

Output file is round 547MB.

.NET Framework 3.5 version.