Make the test script auto-detect cards.

This is easier than having to add them each time.