Add a little more functionality to the CardGenerator unittest