Cards, shuffling, and a test