A card trick about test code