in reply to Testing for randomness

You could have a look at this NIST project, as well at the pLab page. This research page may be of interest too.

Hope this helps, -gjb-

Update: Marsaglia's DIEHARD seems to be abondoned, but the source is still available.