Visit this website for a list of valid credit card numbers of numerous brands
Graham King » Credit card numbers
*NOTE you cant buy stuff with these, but they will validate
*I tested it on an e-commerce website, and it cleared !
If you wish to see the source code for the generators, here it is in several formats (PHP, Python, Java, etc...)
http://www.darkcoding.net/project-files/gencc.zip